import request from "../request/index";
const customerApi = {
  getAddr() {
    return request({
      url: '/customer/get-addr',
      method: 'GET'
    })
  },
  customerAddress: function (formData) {
    return request({
      url: '/customer/address',
      method: formData.method,
      data:formData.data
    })
  },
  customerListEmp() {
    return request({
      url: '/customer/list-emp',
      method: 'GET'
    })
  },
  addCustomer(data) {
    return request({
      url: '/customer/add-emp',
      method: 'POST',
      data
    })
  },
  removeEmp(userId) {
    return request({
      url: `/customer/remove-emp/${userId}`,
      method: 'POST',
    })
  }
 

  

  

}
export default customerApi
